package com.fxd.crm.mapper;

import com.fxd.crm.model.CourseOrder;
import com.fxd.crm.model.grade;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @auther fuxudong
 * @date 2021/3/28 - 18:13
 */
@Mapper
public interface gradeMapper {
    int findCountByMap(Map<String, Object> map);


    List<grade> findListByMap(Map<String, Object> map);


    void insert(grade grade);

    grade findByOrderId(Map<String,String> map);

    void deleteByOrderId(grade grade);

    void update(grade grade);
}
